package edu.zut.cs.software.estateagent.property.service;

import java.util.List;

import edu.zut.cs.software.base.service.GenericManager;
import edu.zut.cs.software.estateagent.property.domain.Holder;
import edu.zut.cs.software.estateagent.property.domain.Property;

public interface PropertyManager extends GenericManager<Property, Long> {

	List<Property> findByCode(String code);//根据编号查找
	
	List<Property> findByFullname(String fullname);//根据名字查找
	
	List<Property> findAll();//查找全部
	
	void delbyenity(Iterable s);//根据字段删除数据
	
	Property getone(Long ids);//根据id查找一条数据

}